package testOne2Ten;

/**
 * 输入一个字符串，将空格替换为%20
 * Created by Wongy on 2018/3/13.
 */
public class Test4 {
    private static String replaceSpace(String string) {
        return string == null ? null : string.replace(" ", " %20");
    }
}
